package edu.zust.zw.shop.db.dao;

import edu.zust.zw.shop.db.dao.domain.ShopWareTypeDomain;
import edu.zust.zw.shop.db.dao.domain.ShopWareTypeDomainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopWareTypeDomainMapper {
    long countByExample(ShopWareTypeDomainExample example);

    int deleteByExample(ShopWareTypeDomainExample example);

    int deleteByPrimaryKey(String wareTypeId);

    int insert(ShopWareTypeDomain record);

    int insertSelective(ShopWareTypeDomain record);

    List<ShopWareTypeDomain> selectByExample(ShopWareTypeDomainExample example);

    ShopWareTypeDomain selectByPrimaryKey(String wareTypeId);

    int updateByExampleSelective(@Param("record") ShopWareTypeDomain record, @Param("example") ShopWareTypeDomainExample example);

    int updateByExample(@Param("record") ShopWareTypeDomain record, @Param("example") ShopWareTypeDomainExample example);

    int updateByPrimaryKeySelective(ShopWareTypeDomain record);

    int updateByPrimaryKey(ShopWareTypeDomain record);
}